<template>
    <transition>
        <slot></slot>
    </transition>
</template>

<script>
export default {
  name: 'Fade'
}
</script>

<style lang="stylus" scoped>
// 渐隐渐显的效果
 .v-enter, .v-leave-to
    opacity: 0
 .v-enter-active, .v-enter-active
    transition: opacity .5s

</style>
